package com.cyl.manager.pms.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyl.manager.pms.domain.entity.PmsBrandAttention;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌关注Mapper接口
 *
 * @author zcc
 */
public interface PmsBrandAttentionMapper extends BaseMapper<PmsBrandAttention> {
    /**
     * 查询品牌关注列表
     *
     * @param pmsBrandAttention 品牌关注
     * @return 品牌关注集合
     */
    List<PmsBrandAttention> selectByEntity(PmsBrandAttention pmsBrandAttention);

    /**
     * 批量软删除
     * @param ids
     * @return
    */
    int updateDelFlagByIds(@Param("ids") Long[] ids);

    int removeBrand(@Param("userId")Long userId, @Param("brandId")Long brandId);
}
